<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
接口反扒
<button onClick ="getData()">请求接口</button>
</body>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript">

    function getData() {

        $.ajax({
            url: "/anptile/getData",
            type: 'post',
            dataType: 'json',
            success: function(data){
                console.log(data)
            },error:function (error) {
                console.log(error)
            }
        });
    }

</script>
</html>